﻿using PublicClass.BreedingEnum;
using PublicClass;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Breeding.Domain
{
    /// <summary>
    /// 羔羊断奶
    /// </summary>
    [Table("LambWeaning")]
    public class LambWeaning : AuditFields
    {
        /// <summary>
        /// 主键 ID
        /// </summary>
        [Key]
        public int WeaningId { get; set; }
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime? WeaningDate { get; set; }
        /// <summary>
        /// 羔羊羊号
        /// </summary>
        public string? LambOverbit { get; set; }
        /// <summary>
        /// 种母耳号
        /// </summary>
        public string? MomEarbugles { get; set; }
        /// <summary>
        /// 胎次
        /// </summary>
        public string? AtPresentParity { get; set; }

        /// <summary>
        /// 断奶日龄
        /// </summary>
        public int WeaningDay { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public Sex? Sex { get; set; }
        /// <summary>
        /// 当前栋舍
        /// </summary>
        public string? FrontDorm { get; set; }
        /// <summary>
        /// 当前栏位
        /// </summary>
        public string? FrontColumns { get; set; }

        /// <summary>
        /// 转入栋舍
        /// </summary>
        public string? QueenDorm { get; set; }
        /// <summary>
        /// 转入栏位
        /// </summary>
        public string? QueenColumns { get; set; }
        /// <summary>
        /// 断奶重
        /// </summary>
        public decimal? WeaningWeight { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? DocumentCord { get; set; }

    }
}
